import { pushUrl } from "./config.js";
import Axios from "axios";



// export let CheckconditionDataForPatrolpush = (schoolId, date) => {
//     return (
//         Axios.post("Patrolpush/getCheckConditionData", {
//             schoolId: schoolId,
//             date: date,
//         })
//     );
// }


export let CheckconditionDataForPatrolpush = (schoolId, date) => {
    return (
        Axios.post(pushUrl + "weChatSystem/getCheckConditionData", {
            schoolId: schoolId,
            date: date,
        })
    );
}

//学生进出推送
export let getSendStudentInOrOutMessageForIdApi = (id) => {
    return (
        Axios.post(pushUrl+"weChatSystem/getSendStudentInOrOutMessageForId", {
            id: id,
            
        })
    );
}

//事件推送
export let getSendVideoEventMessageForIdApi = (id) => {
    return (
        Axios.post(pushUrl+"weChatSystem/getSendVideoEventMessageForId", {
            id: id,
            
        })
    );
}



